const bcrpt = require('bcryptjs')
const tools = {
    enbcrypt(password) {
        const salt = bcrpt.genSaltSync(10);
        const hash = bcrpt.hashSync(password, salt);
        return hash
    }
}


module.exports = tools